package com.isoft.farm.service.Impl;

import com.isoft.farm.dao.SysDeptDao;
import com.isoft.farm.entity.Node;
import com.isoft.farm.service.SysDeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysDeptServiceImpl implements SysDeptService {
    @Autowired
    SysDeptDao sysDeptDao;
    @Override
    public List<Node> findZtreeDeptNodes() {
        return sysDeptDao.findZtreeDeptNodes();
    }
}
